package com.crazyread.model.domain;

import java.util.List;

public class BookType {
    private Integer id;

    private String nameType;

    private Integer pid;

    private Integer bookId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNameType() {
        return nameType;
    }

    public void setNameType(String nameType) {
        this.nameType = nameType == null ? null : nameType.trim();
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    private List<oneSubject> oneSubjects ;

    public List<oneSubject> getOneSubjects() {
        return oneSubjects;
    }

    public void setOneSubjects(List<oneSubject> oneSubjects) {
        this.oneSubjects = oneSubjects;
    }

}